package com.qiyu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qiyu.entity.HomeBanner;
import com.qiyu.model.request.backend.HomeBannerReq;


/**
 * 首页banner
 *
 * @author
 * @date 2020-07-16 12:08:30
 */
public interface HomeBannerService extends IService<HomeBanner> {

    HomeBanner saves(HomeBannerReq req);

    IPage<HomeBanner> queryAll(Integer page,Integer size,String name);

    void online(Boolean online, Long[] ids);

    void top(String handler, Long id);
}

